package com.bdk.middle.tenant.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 权限
 * </p>
 *
 * @author Reagan
 * @since 2021-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_tenant_permission")
public class TenantPermissionEntity implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    @TableField("tenant_application_id")
    private String tenantApplicationId;

    @TableField("permission_id")
    private String permissionId;

    @TableField("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("type")
    private Integer type;

    @TableField("request_url")
    private String requestUrl;

    @TableField("component")
    private String component;

    @TableField("icon")
    private String icon;

    @TableField("create_date")
    private Date createDate;

    @TableField("modifi_date")
    private Date modifiDate;

    @TableField("creator")
    private String creator;

    @TableField("modifier")
    private String modifier;

    @TableField("is_delete")
    private Integer isDelete;


}
